// 数据访问
 import categoryAjax from '@/api/coursecategory.js'

var vueRef;

class AdminService  {
  init(_vueRef) {
    vueRef=_vueRef;
  }
  
  loadData(){
    categoryAjax.getData().then( resp => {
      vueRef.tableData = resp.data
    })
  }
  
  
}

var adminService=new AdminService();
export default adminService
